package com.rc.saas.tenant.model.discount;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.rc.saas.tenant.base.BaseModel;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

public class TenantDiscountPolicy extends BaseModel {
    private Long discountPolicyId;

    private String tenantCode;

    private String policyName;

    private String policyDesc;

    private Long elecStationId;

    private String discountType;

    private String policyMemberType;

    private Long enterpriseMemberId;

    private Long hlhtMemberId;

    private Integer timeType;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    private String status;

    private String createdBy;

    private Date createdTime;

    private String lastUpdatedBy;

    private Date lastUpdatedTime;

    private List<TenantDiscountMember> tenantDiscountMemberList;

    private List<TenantDiscountTime> tenantDiscountTimeList;

    public List<TenantDiscountMember> getTenantDiscountMemberList() {
        return tenantDiscountMemberList;
    }

    public void setTenantDiscountMemberList(List<TenantDiscountMember> tenantDiscountMemberList) {
        this.tenantDiscountMemberList = tenantDiscountMemberList;
    }

    public List<TenantDiscountTime> getTenantDiscountTimeList() {
        return tenantDiscountTimeList;
    }

    public void setTenantDiscountTimeList(List<TenantDiscountTime> tenantDiscountTimeList) {
        this.tenantDiscountTimeList = tenantDiscountTimeList;
    }

    public Long getDiscountPolicyId() {
        return discountPolicyId;
    }

    public void setDiscountPolicyId(Long discountPolicyId) {
        this.discountPolicyId = discountPolicyId;
    }

    public String getTenantCode() {
        return tenantCode;
    }

    public void setTenantCode(String tenantCode) {
        this.tenantCode = tenantCode;
    }

    public String getPolicyName() {
        return policyName;
    }

    public void setPolicyName(String policyName) {
        this.policyName = policyName;
    }

    public String getPolicyDesc() {
        return policyDesc;
    }

    public void setPolicyDesc(String policyDesc) {
        this.policyDesc = policyDesc;
    }

    public Long getElecStationId() {
        return elecStationId;
    }

    public void setElecStationId(Long elecStationId) {
        this.elecStationId = elecStationId;
    }

    public String getDiscountType() {
        return discountType;
    }

    public void setDiscountType(String discountType) {
        this.discountType = discountType;
    }

    public String getPolicyMemberType() {
        return policyMemberType;
    }

    public void setPolicyMemberType(String policyMemberType) {
        this.policyMemberType = policyMemberType;
    }

    public Long getEnterpriseMemberId() {
        return enterpriseMemberId;
    }

    public void setEnterpriseMemberId(Long enterpriseMemberId) {
        this.enterpriseMemberId = enterpriseMemberId;
    }

    public Long getHlhtMemberId() {
        return hlhtMemberId;
    }

    public void setHlhtMemberId(Long hlhtMemberId) {
        this.hlhtMemberId = hlhtMemberId;
    }

    public Integer getTimeType() {
        return timeType;
    }

    public void setTimeType(Integer timeType) {
        this.timeType = timeType;
    }

    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getLastUpdatedBy() {
        return lastUpdatedBy;
    }

    public void setLastUpdatedBy(String lastUpdatedBy) {
        this.lastUpdatedBy = lastUpdatedBy;
    }

    public Date getLastUpdatedTime() {
        return lastUpdatedTime;
    }

    public void setLastUpdatedTime(Date lastUpdatedTime) {
        this.lastUpdatedTime = lastUpdatedTime;
    }
}